/*--------------------------------------------------------------------------
  Project::HEXAGON FLIGHT SIMULATOR
  Package::SkyObjects
  Class::LensFlare
  File LensFlare.h
  --------------------------------------------------------------------------
  * METHODS AND CLASS PARAMETERS


  --------------------------------------------------------------------------
  * FUNCTIONS DESCRIPTION
  

  --------------------------------------------------------------------------
  * COPYRIGHT

  --------------------------------------------------------------------------
  * INFO ABOUT AUTHOR AND VERSIONS
  Author:	Tino Giorgio	Data: 
  Rev1:			Data:

  --------------------------------------------------------------------------
  * E-MAIL & CONTACTS

  GIORGIO TINO:	tinoshi@libero.it
	           	shapeofangels@hotmail.com
	            giorgio.tino@studenti.polito.it

  --------------------------------------------------------------------------*/


#if !defined(LENSFLARE_H)
#define LENSFLARE_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/* PLIB includes*/
#include <plib/fnt.h>
#include <plib/ul.h>
#include <plib/pw.h>
#include <plib/pu.h>
#include <plib/sg.h>
#include <plib/ssg.h>
#include <plib/ssgAux.h>
#include "Sky.h"

class LensFlare  
{
public:
	LensFlare(ssgTransform* sunTransform);
	virtual ~LensFlare();

	void update(Sky *sk);

	void enable();
	void disable();

private:
	ssgaLensFlare* lensFlare;
	ssgTransform* lensFlareTransform;
	int enabled;
};

#endif // !defined(LENSFLARE_H)